package com.hy.mvc.web.conroller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * <pre>
 *    author  : Booker
 *    time    : 2017/12/18 20:45
 *    desc    : show the function of this class
 *    version : v1.0
 * </pre>
 */
@Controller
@RequestMapping("user")
public class MainController {

    @RequestMapping(value = "/main", method = RequestMethod.GET)
    public String main(ModelMap modelMap) {
        return "/main";
    }
}
